// 全局样式
a {
  text-decoration: none;
}

li {
  list-style: none;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: '微软雅黑';
}

* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  /* 滚动条整体样式 */
  width: 0;
  /* 高宽分别对应横竖滚动条的尺寸 */
  height: 1px;
}

::-webkit-scrollbar-thumb {
  /* 滚动条里面小方块 */
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #535353;
}

::-webkit-scrollbar-track {
  /* 滚动条里面轨道 */
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #ededed;
}

.el-select__popper {
  min-width: 70px;

  .el-select-dropdown__item {
    padding: 5px 10px;
  }
}

.el-table {
  .el-dropdown {
    line-height: 33px;
  }
}

/**
* el-button
*/
// .el-button {
//     width: 80px;
// }
.btn-icon::before {
  margin-right: 5px;
}

// .el-icon {
//   margin-left: 9px;
// }

.el-form {
  .el-form-item {
    margin-bottom: 15px;
  }
}

.el-radio-group {}

.el-tree {
  &.tree-border {
    border: 1px #ccc dashed;
  }
}

/**
* 确认消息弹窗
*/
.el-overlay.is-message-box {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/** 表格布局 **/
.pagination-container {
  position: relative;
  height: 25px;
  margin-bottom: 10px;
  padding: 25px 20px !important;
}

.pagination-container .el-pagination {
  right: 0;
  position: absolute;
}

@media (max-width: 768px) {
  .pagination-container .el-pagination>.el-pagination__jump {
    display: none !important;
  }

  .pagination-container .el-pagination>.el-pagination__sizes {
    display: none !important;
  }
}

/** 表格更多操作下拉样式 */
.el-table .el-dropdown-link {
  cursor: pointer;
  color: #fff;
  margin-left: 5px;
}

/** 树节点字体大小*/
.nodeStyle {
  font-size: 14px;
}

// 通用样式
.app-container {
  position: relative;
  width: 100%;
  height: 100%;
  // padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;

  .dialog-footer {
    width: 100%;
    margin-left: 185px;
  }
}

.el-overlay-dialog {
  position: fixed;
  top: 190px;
  right: 0;
  bottom: 0;
  left: 130px;
  overflow: auto;
}

// formGenter
.table_grid_wrap {
  width: 100%;
  table-layout: fixed;

  .table_row_wrap {
    display: table;
    table-layout: fixed;
    height: 80px;
    width: 100%;
    position: relative;
    margin-top: 22px;
    padding-bottom: 20px;

    .component-name,
    .drawing-item-copy,
    .drawing-item-delete {
      top: auto;
    }

    .drawing-row-item {
      // .drag-wrapper {
      //   height: 100%;
      // }
    }

    &>.components-item.sortable-ghost {
      // position: absolute;
      // left: 0;
      // right: 0;
      width: 100% !important;
      float: none !important;
      display: table-row !important;

      &::before {
        top: auto;
      }
    }
  }

  .el-form-item__error {
    z-index: 100;
  }
}

.el-table {
  width: 100%;
  height: 550px;
  margin-top: 20px;

  .el-table__row {
    height: 50px;
  }

  .el-table__header {
    height: 50px;
  }

  thead {
    background: #cacaca;
    .cell {
      font-weight: bold;
      color: #464343;
    }

  }
}
.el-select{
  width: 100%;
}
.el-tree-select{
  width: 100%;
}
.el-tree {
  width:100%
}
.el-input--prefix .el-input__inner {
  padding-left: calc(5px + 14px + 20px);
}
.el-icon{
  margin-left:0 !important;
}
.el-table .el-table__expand-icon{
  line-height: 9px !important;
}
/* flex布局 */
.flex {
  display: flex;
}

.flex-direction {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}
.margin-auto {
  margin: 0 auto;
}

.margin-0 {
  margin: 0;
}

.margin-xs {
  margin: 10px;
}

.margin-sm {
  margin: 20px;
}

.margin-top-xs {
  margin-top: 10px;
}

.margin-top-minus {
  margin-top: -10px;
}

.margin-top-sm {
  margin-top: 20px;
}

.margin-right-xs {
  margin-right: 10px;
}

.margin-right-sm {
  margin-right: 20px;
}

.margin-bottom-xs {
  margin-bottom: 10px;
}

.margin-bottom-sm {
  margin-bottom: 20px;
}

.margin-left-xs {
  margin-left: 10px;
}

.margin-left-sm {
  margin-left: 15px;
}

.margin-lr-xs {
  margin-left: 10px;
  margin-right: 10px;
}

.margin-lr-sm {
  margin-left: 20px;
  margin-right: 20px;
}

.margin-tb-xs {
  margin-top: 10px;
  margin-bottom: 10px;
}

.margin-tb-sm {
  margin-top: 20px;
  margin-bottom: 20px;
}

.padding-xs {
  padding: 10px;
}

.padding-sm {
  padding: 20px;
}

.padding-top-xs {
  padding-top: 10px;
}

.padding-top-sm {
  padding-top: 20px;
}

.padding-right-xs {
  padding-right: 10px;
}

.padding-right-sm {
  padding-right: 20px;
}

.padding-bottom-xs {
  padding-bottom: 10px;
}

.padding-bottom-sm {
  padding-bottom: 20px;
}

.padding-left-xs {
  padding-left: 10px;
}

.padding-left-sm {
  padding-left: 20px;
}

.padding-lr-xs {
  padding-left: 10px;
  padding-right: 10px;
}

.padding-lr-sm {
  padding-left: 20px;
  padding-right: 20px;
}

.padding-tb-xs {
  padding-top: 10px;
  padding-bottom: 10px;
}

.padding-tb-sm {
  padding-top: 20px;
  padding-bottom: 20px;
}
.dashed-bottom {
  border-bottom: 1px dashed #ddd;
}
.text-18{
  font-size: 18px
}
.text-16{
  font-size: 16px
}
.text-14{
  font-size: 14px
}
.text-bold{
  font-weight: bold;
}
.text-center{
  text-align: center;
}
